import json

from config import BASE_DIR


def read_json(file_name):
    with open(BASE_DIR+"/data/"+file_name,"r",encoding="utf8")as f:
        jsondata = json.load(f)
        list1=[]
        for dict1 in jsondata:
            list1.append(tuple(dict1.values()))
        return list1
if __name__ == '__main__':
    ret = read_json("ihrm_logindata.json")
    print(ret)
